package com.fiberhome.app.network;

/**
 * Created by Deed on 2018/1/10.
 */

public interface ISender {
    /**
     * cancel send
     */
    void cancel();

    /**
     *
     * @return String
     */
    <T extends IData> IData start(Class<T> cls);

    /**
     *
     * @param callBack CallBack
     */
    void startAsync(CallBack callBack);
}
